<li><a {if $smarty.request.do=='templates'}class="active"{else}{/if} href="index.php?do=templates&amp;cp={$sess}">{#MAIN_TEMPLATES#}</a></li>